#!/data/data/com.termux/files/usr/bin/bash

pnpm install $@ -w

if [ -f ./package.json ];then
  sqlite=tryghost/node-sqlite3/tarball/master
  grep 'sqlite' ./package.json &&
  cnpm i -w https://github.com/$sqlite
fi